import request from '@/utils/request'

// 查询群助手用户列表
export function listGroupAssistant(query) {
  return request({
    url: '/system/tuser/selectGroupHelper',
    method: 'post',
    data: query
  })
}

// 查询群助手用户详细
export function getGroupAssistant(id) {
  return request({
    url: '/system/tuser/groupAssistant/' + id,
    method: 'get'
  })
}

// 新增群助手用户
export function addGroupAssistant(data) {
  return request({
    url: '/system/tuser/insertGroupHelper',
    method: 'post',
    data: data
  })
}


// 删除群助手用户
export function delGroupAssistant(id) {
  return request({
    url: '/system/tuser/deleteGroupHelper/' + id,
    method: 'get'
  })
}